package com.xiaoge.mapper;

import com.xiaoge.entity.Person;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface PersonMapper {
    //获取所有
    List<Person> getAll();
    //添加信息
    int addPerson(Person person);
    //删除信息
    int delPerson(Integer id);
    //删除多个
    int delsPerson(Integer[] arr);
}
